package com.kins.executer.entitys;

import com.baomidou.mybatisplus.annotation.TableName;
import com.kins.common.entity.KinsBaseEntity;
import lombok.Data;

/**
 * @Description:服务编排流程节点信息
 * @Author: 申科
 * @Date:2025/11/12 9:59
 */
@TableName("so_flow_rects")
@Data
public class SOFlowRectsEntity extends KinsBaseEntity<SOFlowRectsEntity> {
    private static final long serialVersionUID = 1L;

    private String soId;

    private String rectType;

    private String version;

    private String rectName;

    private String rectCode;

    private String rectVersion;

    private String whileType;

    private String mappinginfo;

    private String nodeId;

    private String rushService;

    private String rushVersion;

    private String rushType;

    private String mockService;

    private String mockVersion;

    private String mockType;

    private String serviceName;

    private String typeNameCn;

    private String nodeType;

    private String suspend;

    private String mock;

    private String relevanceId;

    private String condition;

    private String path;

    private String domain;

    private String llmSystemInfo;

    private String llmAnwerInfo;

    private boolean getIsRighting(){
        boolean isRighting = (getRushService() == null || "".equals(getRushService())) ? false:true;
        return isRighting;
    }
}
